﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;

namespace iSciences.Data
{
    public class User
    {
        private Guid id;

        public Guid Id
        {
            get { return id; }
            set { id = value; }
        }
        string firstNrame;

        public string FirstNrame
        {
            get { return firstNrame; }
            set { firstNrame = value; }
        }
        string lastName;

        public string LastName
        {
            get { return lastName; }
            set { lastName = value; }
        }

        string email;

        public string Email
        {
            get { return email; }
            set { email = value; }
        }
        string login;

        public string Login
        {
            get { return login; }
            set { login = value; }
        }
        string password;

        public string Password
        {
            get { return password; }
            set { password = value; }
        }

        private Group group;

        public Group Group
        {
            get { return group; }
            set { group = value; }
        }

        private List<Preference> prefrences;

        public List<Preference> Prefrences
        {
            get { return prefrences; }
            set { prefrences = value; }
        }

        private List<Article> favoris;

        public List<Article> Favoris
        {
            get { return favoris; }
            set { favoris = value; }
        }


        public User()
        {
            this.id = Guid.NewGuid();
        }
    }
}
